package com.mall.db.api;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.pojo.OmsOrderReturnReason;

import java.util.List;

public interface OmsOrderReturnReasonApi {

    //添加用户退货原因
    Integer createOrderReturnReason(OmsOrderReturnReason omsOrderReturnReason);
//分页查询
    Page<OmsOrderReturnReason> findOrderReturnReasonList(Integer pageNum, Integer pageSize);
//数据回显
    OmsOrderReturnReason findOrderInfoById(Integer id);
//删除数据
    Integer deleteOrderReturnReasonByIds(List<Integer> ids);
//修改退货原因
    Integer updateOrderInfoReturn(OmsOrderReturnReason omsOrderReturnReason);

    Integer updateOrderInfoReturnStatus(List<Integer> ids, Integer status);
}
